import BlankLayout from '@/components/Layout/BlankLayout'


export default [{
  path: 'personnel',
  component: BlankLayout,
  meta: {
    label: '员工管理'
  },
  children: [{
    path: 'user',
    component: () =>
      import('@/views/personnel/UserList.vue'),
    meta: {
      label: '用户管理'
    }
  }, {
    path: 'skill',
    component: () =>
      import('@/views/personnel/SkillList.vue'),
    meta: {
      label: '技能管理'
    }
  }, {
    path: 'technician',
    component: () =>
      import('@/views/personnel/TechnicianList.vue'),
    meta: {
      label: '技师调度'
    }
  }, {
    path: 'technicianApproval',
    component: () =>
      import('@/views/personnel/TechnicianApprovalList.vue'),
    meta: {
      label: '调度审批'
    }
  },
  {
    path: 'outuser',
    component: () =>
      import('@/views/exterTechnicians/techUser/index.vue'),
    meta: {
      label: '外部技师信息'
    }
  }, {
    path: 'outskill',
    component: () =>
      import('@/views/exterTechnicians/skill/index.vue'),
    meta: {
      label: '外部技师技能'
    }
  }, {
    path: 'storeHandover',
    component: () =>
      import('@/views/personnel/storeEmpLeave/storeHandover/index.vue'),
    meta: {
      label: '退出交接清单模板'
    }
  }, {
    path: 'applyLeave',
    component: () =>
      import('@/views/personnel/storeEmpLeave/applyLeave/index.vue'),
    meta: {
      label: '退出申请'
    }
  }, {
    path: 'examApply',
    component: () =>
      import('@/views/personnel/storeEmpLeave/examApply/index.vue'),
    meta: {
      label: '审核退出申请'
    }
  }]
}]